package com.wind.plugin.openAction.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

// 定义 Action 类
@JacksonXmlRootElement(localName = "action")
public class Action {
    @JacksonXmlProperty(localName = "class", isAttribute = true)
    private String clazz;
    @JacksonXmlProperty(localName = "isSend", isAttribute = true)
    private boolean isSend;
    @JacksonXmlProperty(localName = "actionConfig")
    private ActionConfig actionConfig;

    // Getters and Setters
    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }


    public boolean isIsSend() {
        return isSend;
    }

    public void setIsSend(boolean isSend) {
        this.isSend = isSend;
    }


    public ActionConfig getActionConfig() {
        return actionConfig;
    }

    public void setActionConfig(ActionConfig actionConfig) {
        this.actionConfig = actionConfig;
    }
}